package com.ea.admin.pojo.vo.account;

import com.ea.admin.pojo.vo.company.CompanyVo;
import com.ea.admin.pojo.vo.department.DepartmentVo;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class AdminInfoVo {

    @ApiModelProperty("管理员的id-主键")
    private String accountId;

    @ApiModelProperty("管理员姓名")
    private String name;

    @ApiModelProperty("手机号码")
    private String phoneNumber;

    @ApiModelProperty("用户名")
    private String username;

    @ApiModelProperty("功能权限")
    private List<FunctionPermissionVo> functionPermissionVoList;

    @ApiModelProperty("单位权限")
    private List<CompanyVo> companyPermissionList;

    @ApiModelProperty("部门权限")
    private List<DepartmentVo> departmentPermissionList;

    @ApiModelProperty("是否被禁用 0-否 1-是")
    private Integer isBlock;

    @ApiModelProperty("管理员角色id")
    private Integer adminRoleId;

    @ApiModelProperty("管理员角色名称")
    private String adminRoleName;
}
